import Vue from 'vue'
import App from './App'
// 引入并使用uView
import uView from 'uview-ui'
Vue.use(uView)

Vue.config.productionTip = false

//引入网络请求方法 挂载到vue原型链
import http, { url } from '@/utils/request/http.js'
Vue.prototype.$http = http
Vue.prototype.$url = url
//conmonJS引入tip.js里的方法 挂载到vue原型链 
let tip = require('@/utils/tip.js')
Vue.prototype.$tip = tip

App.mpType = 'app'

const app = new Vue({ ...App })

app.$mount()
